#include"RBTree.hpp"
void test_BRTree()
{
	srand(time(0));
	RBTree<int,int> tree;
	//int arr[] = { 5,7,6};
	//for (auto e : arr)
	//{
	//	tree.Insert({e,e});
	//	tree.IsBalanceTree();
	//}
	int randnum = 0;
	for (int i = 0;i < 100000;i++)
	{
		randnum = rand();
		tree.Insert({ randnum,randnum });
		tree.IsBalanceTree();
	}

}

int main()
{
	test_BRTree();
	return 0;
}